<h1>Edita cliente</h1>

<%= error_messages_for :client %>

<% form_for(@client) do |f| %>
  <div id="campi">
		<div id="notes">
	    <p><label for="client_address">Indirizzo: </label><br /><%= f.text_field :address %></p>
	    <p><label for="client_city">Citt&agrave;: </label><br /><%= f.text_field :city %></p>
	    <p><label for="client_cap">CAP: </label><br /><%= f.text_field :cap %></p>
	    <p><label for="client_tel_office">Tel. ufficio: </label><br /><%= f.text_field :tel_office %></p>
	    <p><label for="client_tel_home">Tel. abitazione: </label><br /><%= f.text_field :tel_home %></p>
	    <p><label for="client_tel_cell">Tel. cellulare: </label><br /><%= f.text_field :tel_cell %></p>
	    <p><label for="client_fax">Fax: </label><br /><%= f.text_field :fax %></p>
		</div>
    <p><label for="client_name">Nome: </label><br /><%= f.text_field :name %></p>
    <p><label for="client_surname">Cognome: </label><br /><%= f.text_field :surname %></p>
    <p><label for="client_fiscal_code">Codice fiscale: </label><br /><%= f.text_field :fiscal_code %></p>
    <p><label for="client_society">Societ&agrave;: </label><br /><%= f.text_field :society %></p>
    <p><label for="client_PI">P.I.: </label><br /><%= f.text_field :PI %></p>
    <p><label for="client_email">eMail: </label><br /><%= f.text_field :email %></p>
    <p><label for="client_webpage">Pagina web: </label><br /><%= f.text_field :webpage %></p>
    <p><label for="client_name_responsible">Responsabile: </label><br /><%= f.text_field :name_responsible %></p>
		<p><label for="client_topten">Top10 </label><%= f.check_box :topten %></p>
		<p><label for="client_notes">Note: </label><br /><%= f.text_area :notes, :size => "40x6" %></p>
		<br />
    <%= f.submit "Update" %>
  </div>
<% end %>

<%= link_to 'Show', @client %> |
<%= link_to 'Back', :back %>
